import { App } from "vue";
import { registerFormDetailProvider } from "@ibiz-template/runtime";
import FormRawItem from "./i-biz-form-rawitem.vue";
import { FormRawItemProvider } from "./i-biz-form-rawitem.provider";

export const IBizFormRawItem = {
  install(v: App) {
    v.component("IBizFormRawItem", FormRawItem);
    registerFormDetailProvider("RAWITEM", () => new FormRawItemProvider());
  },
};

export default IBizFormRawItem;
